package com.m1.tzolkin.model;

public enum Season {
	MIDDLE_ERA(new Integer[] { 7, 20 }) {
		public boolean templesBelowActions() { return true; }
		public boolean changeBuildings() { return false; }
		public boolean templesTopPoints() { return false; }
	}, END_ERA(new Integer[] { 13, 26 }) {
		public boolean templesBelowActions() { return false; }
		public boolean changeBuildings() { return true; }
		public boolean templesTopPoints() { return true; }
	};
	
	private final Integer[] dates;
	
	private Season(Integer[] dates) {
		this.dates = dates;
	}
	
	public abstract boolean templesBelowActions();
	
	public abstract boolean changeBuildings();
	
	public abstract boolean templesTopPoints();
	
	public Integer[] getDates() {
		return dates.clone();
	}
}
